﻿namespace Mysoft.MyCM
{
	using System;
	using System.Data.Entity;
	using System.ComponentModel.DataAnnotations.Schema;
	using System.Linq;
	using System.Data.Entity.Infrastructure;

	/// <summary>
	/// CM系统日志EFDBContext
	/// </summary>
	public partial class LogModel : DbContext
	{
		/// <summary>
		/// CM系统日志EFDBContext
		/// </summary>
		public LogModel()
			: base("name=LogModel")
		{
		}

		public virtual DbSet<CMLog> CMLog { get; set; }

		protected override void OnModelCreating(DbModelBuilder modelBuilder)
		{
			//throw new UnintentionalCodeFirstException();
		}
	}
}
